.class Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;
.super Ljava/lang/Object;
.source "SideNavigationFragment.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->initActions(Landroid/view/View;)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;


# direct methods
.method constructor <init>(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)V
    .registers 2
    .param p1, "this$0"    # Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    .prologue
    .line 343
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .registers 6
    .param p1, "v"    # Landroid/view/View;

    .prologue
    .line 348
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    # getter for: Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->access$200(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    if-nez v2, :cond_16

    .line 349
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-static {}, Lcom/brixd/niceapp/util/SettingUtils;->getSignonSideMenuHint()Ljava/lang/String;

    move-result-object v3

    invoke-static {v2, v3}, Lcom/brixd/niceapp/service/LoginService;->login(Landroid/content/Context;Ljava/lang/String;)V

    .line 358
    :goto_15
    return-void

    .line 351
    :cond_16
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    const-string v3, "EnterSelfPersonalPageFromSideMenu"

    invoke-static {v2, v3}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;)V

    .line 353
    new-instance v1, Landroid/content/Intent;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    const-class v3, Lcom/brixd/niceapp/userinfo/activity/UserInfoMainActivity;

    invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    .line 354
    .local v1, "intent":Landroid/content/Intent;
    new-instance v0, Lcom/brixd/niceapp/model/CommonUserModel;

    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    # getter for: Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->mUserModel:Lcom/brixd/niceapp/model/UserModel;
    invoke-static {v2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->access$200(Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;)Lcom/brixd/niceapp/model/UserModel;

    move-result-object v2

    invoke-direct {v0, v2}, Lcom/brixd/niceapp/model/CommonUserModel;-><init>(Lcom/brixd/niceapp/model/UserModel;)V

    .line 355
    .local v0, "commonUserModel":Lcom/brixd/niceapp/model/CommonUserModel;
    const-string v2, "UserModel"

    invoke-virtual {v1, v2, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 356
    iget-object v2, p0, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment$2;->this$0:Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;

    invoke-virtual {v2}, Lcom/brixd/niceapp/activity/fragment/SideNavigationFragment;->getActivity()Landroid/support/v4/app/FragmentActivity;

    move-result-object v2

    invoke-virtual {v2, v1}, Landroid/support/v4/app/FragmentActivity;->startActivity(Landroid/content/Intent;)V

    goto :goto_15
.end method
